package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电子图片对象 b_e_picture_af
 *
 * @author guangpipi
 * @date 2023-09-21
 */
public class BPicture_af extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private String id;

    /** 文件id */
    @Excel(name = "文件id")
    private String efid;

    /** 图片名字 */
    @Excel(name = "图片名字")
    private String picName;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String fileDirectory;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setEfid(String efid)
    {
        this.efid = efid;
    }

    public String getEfid()
    {
        return efid;
    }
    public void setPicName(String picName)
    {
        this.picName = picName;
    }

    public String getPicName()
    {
        return picName;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setFileDirectory(String fileDirectory)
    {
        this.fileDirectory = fileDirectory;
    }

    public String getFileDirectory()
    {
        return fileDirectory;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("efid", getEfid())
                .append("picName", getPicName())
                .append("type", getType())
                .append("fileDirectory", getFileDirectory())
                .append("creationTime", getCreationTime())
                .toString();
    }
}
